package org.hj.modules.demo.test.vo;

import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;
import org.hj.common.system.util.Excel.Excel;
import org.hj.modules.demo.test.entity.HjOrderCustomer;
import org.hj.modules.demo.test.entity.HjOrderTicket;

import java.util.List;

@Data
public class HjOrderMainPage {
	
	/**主键*/
	private String id;
	/**订单号*/
	@Excel(name="订单号",width=15)
	private String orderCode;
	/**订单类型*/
	private String ctype;
	/**订单日期*/
	@Excel(name="订单日期",width=15,format = "yyyy-MM-dd")
	private java.util.Date orderDate;
	/**订单金额*/
	@Excel(name="订单金额",width=15)
	private Double orderMoney;
	/**订单备注*/
	private String content;
	/**创建人*/
	private String createBy;
	/**创建时间*/
	private java.util.Date createTime;
	/**修改人*/
	private String updateBy;
	/**修改时间*/
	private java.util.Date updateTime;
	
	@ExcelCollection(name="客户")
	private List<HjOrderCustomer> hjOrderCustomerList;
	@ExcelCollection(name="机票")
	private List<HjOrderTicket> hjOrderTicketList;
	
}
